if not exist junk.o goto checkw32api\r
gcc -mno-cygwin -c junk.c\r
if exist junk.o set nocygwin=Y\r
-del junk.o junk.c\r
+rm -f junk.c junk.o\r
\r
:checkw32api\r
rem ----------------------------------------------------------------------\r
\r
:gccOk\r
set COMPILER=gcc\r
-del junk.c junk.o\r
+rm -f junk.c junk.o\r
echo Using 'gcc'\r
goto genmakefiles\r
\r
:clOk\r
set COMPILER=cl\r
-del junk.c junk.obj\r
+rm -f junk.c junk.obj\r
echo Using 'MSVC'\r
goto genmakefiles\r
\r
copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile\r
copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile\r
copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile\r
-if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile Makefile.unix\r
+if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile.in Makefile.unix\r
if exist ..\lisp\makefile del /f ..\lisp\makefile\r
copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile\r
rem Use the default (no-op) Makefile.in if the nt version is not present.\r